package com.xian.create;

public class MethodDemo1 {
    public static void main(String[] args) {
        int c1 = sum(10,20);
        System.out.println(c1);
    }

    //求和
    public static int sum(int a, int b) {
        return a + b;
    }
}
